An effective video inpainting technique using morphological Haar wavelet transform with krill herd based criminisi algorithm

In recent times, video inpainting techniques have intended to fill the missing areas or gaps in a video by utilizing known pixels. The variety in brightness or difference of the patches causes the state-of-the-art video inpainting techniques to exhibit high computation complexity and create seams in the target areas. To resolve these issues, this paper introduces a novel video inpainting technique that employs the Morphological Haar Wavelet Transform combined with the Krill Herd based Criminisi algorithm (MHWT-KHCA) to address the challenges of high computational demand and visible seam artifacts in current inpainting practices. The proposed MHWT-KHCA algorithm strategically reduces computation times and enhances the seamlessness of the inpainting process in videos. Through a series of experiments, the technique is validated against standard metrics such as peak signal-to-noise ratio (PSNR) and structural similarity index (SSIM), where it demonstrates superior performance compared to existing methods. Additionally, the paper outlines potential real-world applications ranging from video restoration to real-time surveillance enhancement, highlighting the technique’s versatility and effectiveness. Future research directions include optimizing the algorithm for diverse video formats and integrating machine learning models to advance its capabilities further.


Literature review
In recent times, Convolutional Neural Network (CNN) was initially utilized in 16 for image inpainting; however, it only for smaller holes.Pathak et al. 17 presented for handling the huge lost area by an encoder decoder framework that could effectively study the background features of the image.For image inpainting with high resolution, a multi scale neural patch synthesis technique is introduced that not only maintains background construction but also generates higher details 18 .The technique presented in 19 additionally enhances the efficiency by including 2 adversary losses for measuring the local and global reliability of the outcomes.Distinct from the past works that only concentrates on box shaped hole, it also establishes an approach for handling the holes with random shape.Extending this technique from image to video field is a difficult process, due to video completion, it is not only required for having a precise context knowledge of both motions and frames but also need to guarantee temporary softness of the output.This method presented a new deep learning (DL) framework for this issue that utilizes both two and three-dimensional CNNs to combine for learning the spatial and temporal structures in detail 20 .
An additional sequence of processes by utilizing three-dimension CNN for three-dimension structure accomplishment is provided.Related to DL based image inpainting, all techniques are utilized encoder decoder framework however three-dimension CNN is used for resolving this challenge.But, most of the methods could only manage low resolution grids (typically 303 voxels) because of higher computation cost of three-dimension convolution.In order to resolve this problem, several methods have recently been presented.Dai et al. 21utilized patch assembly and retrieval as a post-processing for refining the low-resolution outcome of encoder-decoder system.For this post refinement, the techniques in 22 presented an approach for slicing the low-resolution outcome to a series of images also performed completion and super resolution for every sliced image with a repeated NN.A hybrid network is implemented to joint universal structure forecast and local geometry interpretation 23 .This research work is stimulated by these techniques however it varies from it in 2 features.Initially, the technique accompanied the completion in an area growing manner whereas it utilizes end to end framework for conclusion.Next, for detailed inference, the technique is only looking at a local region that lacking nearby context data whereas this technique utilizes the content of the entire image for lost data retrieval.
In recent times, various DL based methods are separated into two types.Initially, it mostly consists of Shortand Long-Term Context Aggregation Net for Video Inpainting five, which is based on short term reference data if inpainting targeted the frame.For instance, VINet 24 utilizes a repeated encoder-decoder system for collecting data in nearby frames by flow warping based background accumulation.A multi-stage architecture is presented for video inpainting: it is initially utilizing deep flow completion network for restoring the flow order, later execute backward and forward pixel propagation by utilizing the returned flow order, and at last, it utilizes a pre-trained image inpainting method for refining the outcomes 25 .The secondary model utilizes a suitable group of frames in the whole video as reference data.Wang et al. 26 presented a 2-stage method with integration of 2D and 3D CNNs.CPNet 27 proposed a context aggregation by forecasting affine matrices and employing affine transformation over fixed sample reference frames.
A simple fusion based inpainting model fuses the color and depth features to overcome the modality gaps in inpainting process 28 .The proposed guided color and depth inpainting network attained better inpainting results compared to traditional methods.The self-attention model presented in 29 provides a global to local progressive network for video inpainting.The inpainting approach has local and global self-attention model to enhance the search efficiency and accuracy.Due to this, local redundancy caused due to textures are reduced in the inpainting process and provides better reliability.
A fast Fourier convolution-based video inpainting model presented in 30 incorporates transformer networks to enhance the inpainting performances.The presented model initially represents a token considering the frame wide and then the token is fed into spatio-temporal transformer to predict the missing areas in large scale.Better contextual information can be obtained using the transformer network.However, the memory requirements of transformer networks are high and it requires large training data and computationally intensive compared to recent models.Similar transformer-based video inpainting model presented in 31 utilizes deep encoder and an attention block to attain better performances.The features from the video are effectively obtained through deep encoder and the incorporated attention block recreates the attributes and merge together to provide a complete spatial structure.However, the deep encoder has limited contextual understanding as it lags to understand the long-term dependencies of video frames.
The discrete wavelet transforms based video inpainting model presented in 32 process the low and high frequency components in video frames through different feature aggregation models to generate the missing features.Finally using a gradient weighted network, the reconstruction is performed with better reconstruction results.Similar wavelet-based transformer presented in 33 considers the spatial information while performing video inpainting.In addition to spatial and temporal learning procedure, the presented model includes an attention model which considers low frequency and high frequency band losses while reconstructing the images.However, handling diverse textures and motion patterns require additional training procedure which limits the presented approach performances.
An automatic video inpainting is proposed in the literature to focus on dynamic textures construction, moving of multiple objects, and moving background 34 .In fact, achieving high-quality inpainting results on high-definition movies has only lately been feasible, and even then, only partially automatically.An automatic approach utilising mid-level structural clues to guide patch-based image completion was presented 35 .This proposed technology struggled to provides good results for high quality video and image inpainting.

The proposed MHWT-KHCA algorithm
The working principle of the proposed MHWT-KHCA technique is given here.The MHWT-KHCA technique follows a three-stage procedure, namely frame extraction with down sampling, decomposition, and inpainting.Firstly, the input videos which need to be inpainted are given as input to the MHWT-KHCA technique.Then, the frames in the videos are extracted and down sampled to get low-resolution images.Followed by, the decomposition of the frames takes place using MHWT technique and creates a sub-band of wavelets of a low-resolution image.Finally, the KHCA technique is applied to the subbands for inpainting the missing regions.

Frame extraction and downsampling
In the MHWT-KHCA video inpainting process, the selection of the target region, or the area to be inpainted, is a crucial step that precedes the actual inpainting action 36 .This selection is typically automated and based on a detection algorithm that identifies missing or damaged areas in the video frames.The process involves several key steps: 1.The video frame is initially analyzed to detect anomalies or disruptions in visual continuity using edge detection and texture analysis techniques.This helps in identifying areas that lack coherent visual data compared to their surroundings.2. Once potential target areas are identified, they are marked as regions of interest (ROI).This marking is based on a thresholding method where pixels significantly differing from their surrounding in terms of color, intensity, or texture are flagged.3. The marked regions are then validated to ensure they indeed represent missing or corrupted data.This validation might involve temporal consistency checks across successive frames to confirm the persistence of detected anomalies.4.After validation, these areas are defined as target regions for inpainting.The boundaries of these regions are refined using morphological operations to ensure smooth transitions for the inpainting process. 5. Within the target regions, priority is assigned to different areas based on the algorithmic needs.Factors such as the proximity to high-detail areas, the structural importance of the region within the frame, and the extent of damage or data loss can influence priority levels

Frame extraction and downsampling
Once the target regions within the video frames are identified and validated, the next step involves the precise extraction and preparation of these frames to facilitate effective inpainting.This transition is not only critical for maintaining the quality and consistency of the video but also sets the stage for applying sophisticated downsampling techniques that optimize the processing load.At the beginning stage, frame extraction from video takes place and the downsampling process is achieved by a factor of 2 for getting images with low resolution.Since processing each high dimension frame individually will increase the computation complexity.Thus, the frames are down sampled so that the spatial resolution is reduced and smaller sized images will be obtained.Moreover, down sampling ensures that neighboring frames in the video have similar spatial characteristics, so that a better temporal consistency can be obtained during the inpainting process.Inpainting missing regions across successive frames with better temporal consistency will provide smoother and more visually appealing results.The low-resolution image inpainting is independent of noise which means noise may be less prominent in low-resolution images compared to high-resolution images due to the reduced level of detail 37,38 .However, the proposed model incorporated bilateral filter to avoid the boundary noises and preserves the edges in the video frames.Once the low-resolution images are attained, the present image gets subtracted from the earlier image.
When the residual becomes 0 or less than the threshold pixel value, there is no need for inpainting process is indicating any difference between the present and previous frames.This process eliminates the inpainting of the repetitive frames.When the residual is not equivalent to 0, the inpainting procedure is performed.

MHWT based decomposition process
At this stage, the MHWT technique is used to decompose video frames into subbands of wavelets.The primary purpose of choosing MHWT-based decomposition is to break down the input video frame into various frequency bands, achieving a multiscale representation.This multiscale representation can provide different levels of features, allowing for effective extraction of local and global structures in the video frames.Moreover, MHWT can retain spatial localization information in the decomposition process, which provides a significant advantage for inpainting.Unlike traditional wavelet transforms, which suffer from blurring effects, MHWT can preserve the edges and boundary information of objects in the video frames.Compared to recent deep learning models that rely on large amounts of annotated data for training, MHWT doesn't require large datasets and is computationally efficient.Thus, for a balanced multiscale representation, edge preservation, spatial localization information, and computational efficiency, MHWT is proposed for the feature extraction process.Mathematically, the Haar transform matrix is defined using Eq. ( 1): where F is a N × N and H denotes the N × N image and transformation matrices, T is the outcome using the Haar transform.H Comprises the Haar basis function h k (z) , that can be represented using an unbroken locked interval of z ∈ [0, 1], k = 0, 1, 2, N − 1 , where N = 2 n .For creating the H matrix, the integer variable k can be defined by k The Haar basis function is denoted by and The ith row of N × N Haar transform matrix includes the components hi (z) , where z = 0/N, 1/N, 2/N, Then, the morphological version of Haar wavelet is developed by substituting the linear signal analysis filter of Haar wavelet with the erosion (or dilation), for instance, considering the lower (or higher) over two instances.
Assume a collection of V j of signal spaces 39 where j might exist over a finite or infinite index set.The signal analysis operator ψ a j (x) : V j → V j+1 maps V j into V j+1 and the detailed analysis operator ω a j (x) : V j → W j+1 maps V j into W j+1 .The family ψ S j of signal synthesis operator and ω S j of detail synthesis operators maps V j+1 back into V j .It is represented as: where ψ a j , ω a j,v , ω a j,h , ω a j,d denoted the scaled signal and the vertical, horizontal, and diagonal detail signals, that are represented as The above vertical, horizontal, and diagonal components can provide the multiscale texture and structural information in the video frame.In the inpainting process performed in the next stage, these features are used to know the missing region in the video frame.By ensuring the nearby textures and structures the missing regions can be painted effectively.
The synthesis operators are provided by And where we write y ∈ ω S j as y = yv, yh, yd .

KHCA based video inpainting process
Finally, the KHCA based video inpainting process takes place to fill the omitted regions in the input image.The omitted regions in the input image are detected using an automated anomaly detection mechanism that identifies discrepancies in continuity and texture.This is accomplished by analyzing the frequency and spatial information derived from the MHWT decomposed frames.Areas lacking coherence with surrounding pixels are flagged as omitted and prioritized for inpainting by the KHCA.This detection is critical for accurately defining the target areas where the inpainting algorithm needs to focus, ensuring a seamless restoration of the video.The KHCA is derived by incorporating the characteristics of KH algorithm with the classical Criminisi algorithm and it effectively searches the optimal matching block in the unbroken regions.Criminisi model derives an efficient technique of integrating the merits of PDE and texture synthesis dependent inpainting [40][41][42] .A summary of the operation involved in the Criminisi technique is discussed here.Consider an input image as 1, the target image is represented by and contour δ�, = l − is the source area and target and source patches can be defined as p and q respectively.At present, a standard mask size of 9 × 9 pixels can be used as the patch region.The steps involved in the Criminisi method are defined as follows.
Step 1. Choose the target region of the image and the remaining portion of the image are considered as source region .
Step 2. To identified the contour δ� of target region , if c = ∅, stop; besides, carry out the following steps.
Step 3. Every patch p positioned at the point p ∈ δ� , calculate the priority P p using the multiplication of 2 elements: The confidence C p determines the number of trustworthy data from the patch p that can be equated as: where | p | indicates the count of pixels that exists from the patch, p , B p signifies the region of identified parts in the patch p .The data term D p implies the strength function of isophote hits the contour δ� all iterations and determined by: where α is the normalization factor and n p represents the unit normal vector that is orthogonal to present contour δ� at p , and ∇l ⊥ p designates direction and intensity of iso-illuminance line of point p.
Step 4. Next to the identification of the patch p with maximum priority, the technique starts to search for an optimal matching patch q in the source regions.A patch q requires to fulfil 32 : d = arg q∈ mind p , q , where distance d p , q determines the sum of squared difference (SSD) of the identified pixel amongst the patches p and q is represented as: For gray scale image, C means image, and N specifies the count of pixels where p is placed in .In case of color images, Step 5. Duplicate the recognized pixel of the patch q to the equal unidentified pixel of patch p and update the confidence value.At last, the above processes get iterated still the missing pixel is entirely filled.Figure 1 demonstrates the flowchart of Criminisi Algorithm 43,44 .
The CA suffers from high computational complexity.Upon finding the optimal matching block, it searches the entire image apart from the missing regions.In the original CA, this priority order is typically determined based on the confidence and coherence of neighboring pixels.However, these heuristics may not always lead to globally optimal solutions, especially in complex inpainting scenarios.Moreover, it tries to offer maximum searching accurateness which increases the computational time.For resolving this issue, KH algorithm is applied in the proposed work.By integrating Krill Herd optimization, the process of selecting the priority order can be enhanced.KH can explore different solutions (i.e., priority orders) in the solution space and adaptively adjust the priority order based on the collective behavior of the swarm.Due to this more efficient exploration of the solution space can be obtained and improves the overall inpainting performances.(18)   www.nature.com/scientificreports/KH 45 is a novel metaheuristic optimization technique applied to resolve optimization process that is dependent upon the swarm of krills regarding specific environmental and biological processes.Krill is one of the best studied species and its main characteristics is its ability to form large swarms.However, when a krill is attacked by a predator, the swarm removes the individual krill which reduces the krill density.After predation the krill is again formed with objective to increase the krill density, and reach the optimal food source.Thus, the optimization model considers the distance between food location and increasing the krill density in the objective function to solve the global optimization problems.An individual krill moves towards the best solution while search for the food and krill density.The optimization process is explained through three major steps as follows.
i. Motion influenced by another krill individuals, ii.Forage actions, iii.Arbitrary diffusion.

Initialization
Better search space abilities are essential for an optimization model.In KH optimization, the algorithm should have the capability to search for the solution in arbitrary dimensions.Thus, a Lagrangian model is generalized to an d-dimensional decision and presented as follows where N i , F i , and D i signifies movement guided by other krill individuals, physical diffusion of the ith krill indi- vidual, and the foraging movement, correspondingly.

Motion influenced by another krill individuals
Generally, the krill individuals try to main the herd density as high and perform movement considering the mutual effects of other krill.When the motion subjective by another krill individuals, the route of motion, α i , is nearly calculated by local outcome (local swarm density), repulsive result, and target outcome.Thus, for a krill individual, this motion is determined by where N max denotes maximal induce speed, ω n indicates inertia weight of the movement induce in [0, 1] , and N old i represents final movement induced.The local effect provided by the neighbors α local i and target direction effect provided by best individual α target i are collectively presented as α i which is mathematically expressed as where where the krill individual worst and best fitness are represented using k worst and k best .The fitness and position of individual krill is represented using k and x .The number of neighbors is indicated using N n .a small positive value ε is added to avoid singularities.To select the neighbors the optimization model calculates the neighbor- hood ratio so that the number of closest krill individuals can be identified.The sensing distance is determined for all the krill individual which is mathematically expressed as where sensing distance is indicated using d s and krill individual is indicated using N .l is a numerical factor which is in the range of 1,5 .Considering sensing distance, if the distance is less the krill are considered as neighbors.Further the effect of individual krill with best fitness is considered and formulated as where c best indicates the coefficient of individual with best fitness and it is expressed as (20) where I indicates the iteration and I max indicates the maximum iteration and rand indicates the random value and its range is given as [0,1].

Forage actions
The foraging movement is calculated by 2 major elements.Initially, it represents food position and next, it denotes previous knowledge with the food spot.For ith krill individual, this movement is nearly connected as: where and V f denotes foraging speed, ω f represents inertia weight of foraging movement among zero and one, F old i indicates final foraging movement.The flowchart of KH technique is shown in Fig. 2.

Arbitrary diffusion
The arbitrary function is assumed to be arbitrary diffusion of krill individual.This movement is defined with respect to a maximal diffusion speed and arbitrary direction vector.It is represented as: where D max denotes maximal diffusion speed, and δ represents arbitrary direction vector and their arrays are arbitrary values from − 1 and 1.
According to 3 above mentioned motions, by distinct variables of the movement in the time, the position vector of krill individual in the interval t to t + t is stated as: It needs to be renowned that t the major significant variable and fine-tuned with respect to particular real-time engineering optimization problems.Due to this variable, it is denoted as scale factor of the speed vector.Additional information regarding the 3 major movements and KH technique is made in 36,37 .
(28) www.nature.com/scientificreports/At the CA, the error square sum algorithm (SSD) through low computation time is commonly employed as a matching condition.So, the SSD is employed for measuring the island suitability index as defined below: where S denotes the pixel value of pixels s(i + s − 1, j + t − 1) from the block is occupied, and T represents the pixel value of point (s, t) from the optimal matching block.M, N denotes the horizontal as well as vertical dinate points of pixels correspondingly.The lower value of error matching results in lower SSD and maximum island adaptability index.Thus, the optimal solution of KH optimization model refines the selection process of CA to select features from the neighbor regions.Also, the exploration and adaptive procedures of KH provides more choices to CA to select appropriate features over time to ensure better inpainting performance.Thus, CA dynamically update the priority order so that this can be used in film scenes so that better patch choices can be provide while ensuring the motion consistency.

Performance validation
In this section, performance analysis for validation of the proposed systems is presented.The experimentation of proposed model utilizes benchmark OTB2015 dataset 46 from Kaggle repository.The dataset has 100 commonly used video sequences for visual tracking.The dataset has different videos like basketball playing video, biker, bird, car, boy, girl, surfing, skating, etc., The video resolution is 1280 × 720 pixels with frame rate of 30fps.In the proposed model experimentation after extracting the frames, down sampling is performed by a factor of 2 to get 640 × 360 sized frames.The experimentations are done in MATLAB 2019 and the performance metrics like PNSR, SSIM, and Computation time are evaluated.The outputs obtained using the proposed model is presented in Fig. 3. Figure illustrates the visualization results obtained by the presented model on the applied input videos with missing region.From the figure, it is clear that the 2nd, 4th, and 6th rows demonstrate the input video frames with missing regions, and the corresponding inpainting output videos with filled regions are exhibited in the 1st, 3rd, and 5th rows.It is apparent that the presented model correctly fills the missing regions.
To The existing methods utilized the same dataset and evaluated the performance metrics which same as in the proposed model.Table 1 and Figs. 4, 5, 6 demonstrates the comparative results analysis of the MHWT-KHCA model with other existing methods in terms of PNSR, SSIM, and CT.Specifically the proposed model superior performance is highlighted with minimum execution time when the pixel loss is at 15% and 30%.The issue identified in the Yang Li et al. research work that utilizes an encoder and decoder network is it takes more than a minute to fill missing pixels in a 512 × 512 image.Similarly, the fuzzy based inpainting model of Tudavekar et al. takes nearly a minute to fill the missing pixels.
From the table values, it is reported that the presented MHWT-KHCA technique has accomplished maximum performance on all the applied video sequences.For instance, on the applied basketball sequence with the pixel loss of 15%, the Newson et al. method has depicted inferior results by offering a PSNR of 36.93 dB, SSIM of 0.885, and CT of 91 s.At the same time, the Jana.Rao et al. method has showcased slightly improved results by obtaining a PSNR of 37.38 dB, SSIM of 0.890, and CT of 70 s.Followed by, the      suggests a high degree of visual fidelity, a key outcome reinforced by the superior PSNR and SSIM values reported in the research.The close resemblance between the original and inpainted histograms is a testament to the algorithm's capability to not only repair damage but also to preserve the intrinsic features of the video content, such as texture and edge information.The improved performance demonstrated by these histograms validates the proposed work's contribution to advancing video inpainting techniques, showcasing its potential to provide high-quality, computationally efficient restoration for practical applications.

Contributions of the research
This research introduces a novel video inpainting technique that integrates Morphological Haar Wavelet Transform (MHWT) with the Krill Herd based Criminisi algorithm (KHCA), offering significant advancements in computational efficiency and inpainting quality.The major contributions of this paper are outlined as follows: 1. We present the MHWT-KHCA algorithm that uniquely combines MHWT and KHCA.This integration utilizes the strengths of MHWT for effective multi-scale representation and edge preservation in video frames, alongside the optimization capabilities of the Krill Herd algorithm to enhance the traditional Criminisi algorithm.This integration significantly reduces the computational complexity typically associated with high-quality video inpainting processes.2. One of the main features of the MHWT-KHCA technique is its ability to maintain high-quality inpainting while significantly reducing the time required to process videos.Traditional video inpainting methods often suffer from high computational demands, especially when dealing with high-resolution content.Our approach optimizes the search for the best matching blocks within videos, thus speeding up the inpainting  process without sacrificing the output quality.This is particularly beneficial for applications requiring realtime processing, such as live video editing and broadcasting.3. Through rigorous benchmarking using the OTB2015 dataset, our technique has demonstrated superior performance over existing methods.The proposed algorithm not only achieves higher peak signal-to-noise ratio (PSNR) and structural similarity index measure (SSIM) but also enhances the visual coherence of inpainted video frames.These improvements are critical for applications where visual quality is paramount, such as in digital restoration of archival video footage and enhancement of surveillance video clarity.4. Our technique effectively minimizes common inpainting artifacts such as blurring and seam visibility, which are prevalent in other approaches.By utilizing the morphological properties of Haar wavelets in conjunction with the strategic patch-based optimization of the Krill Herd algorithm, our method ensures that the inpainted areas blend seamlessly with the surrounding pixels, thus maintaining the natural appearance of the video.5.The MHWT-KHCA algorithm is not only effective for small-scale inpainting tasks but also scales efficiently to handle larger areas of missing data in videos.This versatility makes it suitable for a wide range of applications, from minor edits to significant restorations, across various genres and video formats.

Real time/practical applications
The novel MHWT-KHCA video inpainting technique offers broad practical applications across various sectors: • Useful for removing outdated logos, subtitles, or banners from footage, making it suitable for re-broadcasting or regional adaptation.• Ideal for restoring damaged or deteriorated historical and cultural video archives, ensuring preservation and accessibility.• Enhances surveillance footage clarity, aiding in investigations by inpainting obscured or missing parts due to camera malfunctions or tampering.• Can be integrated into smartphones and cameras to allow users to automatically repair or enhance their personal video content directly on their devices.

Conclusion
The MHWT-KHCA video inpainting technique developed in this study represents a significant advancement in the field of video restoration.This method effectively combines Morphological Haar Wavelet Transform with the Krill Herd based Criminisi algorithm to deliver a robust solution that significantly reduces computational complexity while improving inpainting quality.We demonstrated through extensive benchmarks that our technique outperforms existing methods in terms of efficiency, quality, and scalability.The potential applications of this technology span various industries, including broadcast media, digital forensics, and content creation, illustrating its practicality and wide-ranging impact.Future work will focus on integrating more advanced optimization strategies, enhancing cross-resolution capabilities, and exploring deep learning synergies to further refine and extend its applicability.

Future prospects
The proposed MHWT-KHCA video inpainting technique offers several research opportunities, including the integration of advanced optimization algorithms to enhance efficiency and the incorporation of deep learning models to improve texture and dynamic understanding.Additionally, adapting the technique for varied video resolutions and exploring real-time applications in fields such as medical imaging and live broadcasting could significantly broaden its utility and impact across different sectors.
validate the proposed model better performance with already established research works in this same domain, we have considered research works of Tudavekar et al., Yang Li et al., Jana.Rao et al., and Newson et al.

2 ,
s − 1, j + t − 1 − T(s, t) Rao et al. method has outperformed slightly higher results by obtaining a PSNR of 37.03 dB, SSIM of 0.881, and CT of 69 s.Afterward, the Yang Li et al. method has portrayed moderate results with the PSNR of 37.26dB, SSIM of 0.899, and CT of 59s.On continuing with, the Tudavekar et al. approach has shown certainly superior outcomes with the PSNR of 37.69 dB, SSIM of 0.913, and CT of 54 s.But the presented MHWT-KHCA methodology displayed superior results with the PSNR of 38.86 dB, SSIM of 0.935, and CT of 48 s.Finally, on the applied surfer sequence with the pixel loss of 30%, the Newson et al. method has portrayed inferior outcomes by offering a PSNR of 34.93dB, SSIM of 0.778, and CT of 98s.Simultaneously, the Jana.Rao et al. technique has showcased slightly improved results by attaining a PSNR of 35.10 dB, SSIM of 0.800, and CT of 91 s.Followed by, the Yang Li et al. approach has demonstrated moderate outcome with the PSNR of 35.18 dB, SSIM of 0.810, and CT of 75 s.Also, the Tudavekar et al. method has shown certainly improved outcomes with the

Figure 3 .
Figure 3. Input: Second row/fourth row/sixth row and Output: first row/third row/fifth row.

Figure 7
illustrate the proficiency of the inpainting algorithm in restoring damaged video frames.For all three sequences, the inpainted frames' pixel intensity distributions closely align with those of the original frames, indicating that the proposed MHWT-KHCA technique effectively recovers lost or corrupted data.This alignment
Yang Li et al. method has demonstrated moderate outcome with the PSNR of 38.41 dB, SSIM of 0.891, and CT of 56 s.On continuing with, the Tudavekar et al. method has shown certainly improved outcome with the PSNR of 38.54 dB, SSIM of 0.909, and CT of 46 s.But the presented MHWT-KHCA model has exhibited superior results with the PSNR of 40.71 dB, SSIM of 0.918, and CT of 40 s.Similarly, on the applied basketball sequence with the pixel loss of 30%, the Newson et al. model has showcased inferior outcomes by offering a PSNR of 36.32 dB, SSIM of 0.823, and CT of 95 s.Likewise, the Jana.Rao et al. technique has exhibited somewhat higher results by obtaining a PSNR of 36.84 dB, SSIM of 0.819, and CT of 91 s.Along with that, the Yang Li et al. method has demonstrated moderate outcomes with the PSNR of 37.56 dB, SSIM of 0.835, and CT of 76 s.Also, the Tudavekar et al. method has shown certainly superior outcomes with the PSNR of 37.82 dB, SSIM of 0.845, and CT of 65 s.But the proposed MHWT-KHCA model has outperformed maximum outcomes with the PSNR of 38.13 dB, SSIM of 0.863, and CT of 59 s.Besides, on the applied Girl2 sequence with the pixel loss of 15%, the Newson et al. approach has portrayed inferior results by offering a PSNR of 37.13 dB, SSIM of 0.899, and CT of 65s.Likewise, the Jana.Rao et al. method has demonstrated slightly increased outcomes by attaining a PSNR of 37.76 dB, SSIM of 0.907, and CT of 57 s.In addition, the Yang Li et al. technique has demonstrated moderate outcomes with the PSNR of 38.51 dB, SSIM of 0.925, and CT of 48s.Besides, the Tudavekar et al. method has shown certainly improved outcomes with the PSNR of 38.85 dB, SSIM of 0.935, and CT of 43 s.However, the projected MHWT-KHCA model has showcased higher results with the PSNR of 39.10 dB, SSIM of 0.962, and CT of 37 s.Likewise, on the applied Girl2 sequence with the pixel loss of 30%, the Newson et al. technique has outperformed inferior outcomes by offering a PSNR of 36.02 dB, SSIM of 0.809, and CT of 92 s.In line with, the Jana.Rao et al. method has showcased slightly improved results by obtaining a PSNR of 36.29 dB, SSIM of 0.819, and CT of 79s.Followed by, the Yang Li et al. method has exhibited moderate results with the PSNR of 36.51 dB, SSIM of 0.822, and CT of 65 s.Additionally, the Tudavekar et al. method has shown certainly improved outcomes with the PSNR of 36.84 dB, SSIM of 0.846, and CT of 60s.But the proposed MHWT-KHCA model has exhibited maximum outcomes with the PSNR of 37.97 dB, SSIM of 0.877, and CT of 55 s.Simultaneously, on the applied surfer sequence with the pixel loss of 15%, the Newson et al. model has depicted inferior outcomes by offering a PSNR of 36.81 dB, SSIM of 0.871, and CT of 83s.Concurrently, the Jana.

Table 1 .
Result analysis of existing with proposed model in terms of various performance measures.